/*
 * @Author: liuxiao
 * @Date: 2024-01-12 22:05:06
 * @Last Modified by: liuxiao
 * @Last Modified time: 2024-02-04 01:49:39
 * ps:课程信息相关数据类型
 */

//发布课程需要携带参数ts类型
export interface courseInfoData {
  id?: number
  title: string
  lesson_num: number
  cat_id: number
  teacher: string
  brief: string
  cover_url: string
  discounts: number
  price: number
  sales: number
  discountsTag: string
  details: string
}

export interface chapterInfoData {
  id?: number
  course_id: number
  chapterName: string
  description: string
  status: number
  sort: number
}

export interface lessonInfoData {
  id?: number
  course_id: number
  chapter_id: number
  lessonName: string
  description: string
  sort: number
  is_free: boolean
  duration: number
  courseName: string
  chapterName: string
  status: number
}
